﻿// See https://aka.ms/new-console-template for more information
using DataWorks_Sqlite.MappingClass;
using DataWorks_Tools.MappModals;
using DWConsoleTest;

Console.WriteLine("*****************开始测试CPU占用率*******************!");



var od=XMLConfigure.YXHGetXMLConfigKey("od");
var rd = XMLConfigure.YXHGetXMLConfigKey("rd");
var sdate = XMLConfigure.YXHGetXMLConfigKey("sdate");
var md = XMLConfigure.YXHGetXMLConfigKey("md");
var matfile = XMLConfigure.YXHGetXMLConfigKey("matfile");

dw_props_datapredict row = new dw_props_datapredict();
row.originaldatapath = od;
row.savedatapath = rd;
row.selecteddirectory = sdate;
row.matfilepath = md;
row.matfilename = matfile;
await ConsoleProceed.DataPredictionProcessExcuteConsole(row);
Console.WriteLine("*****************测试CPU占用率结束!*********************");

Console.ReadLine();
